package top.infopub.model.cap;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author Warking
 * @Date 2021/5/22 15:42
 * @Version 1.0  公共字段
 */
public class PublicInstance {
    /*PK*/
    private String id;
    /* 添加人 */
    private String addBy;
    /* 添加时间 */
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date addTime;
    /* 最后修改人 */
    private String uptBy;
    /* 最后修改时间 */
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date uptTime;
    /* 编码 */
    private String codes;
    /* 项目唯一编码 */
    private String proCode;
    /* 关联的流程ID */
    private String processId;
    /* 当前审批状态 1=审批中 9=审批完成 10=审批终止 */
    private String processStatus;
    /*OA待办Id*/
    private String oaId;
    /*项目名称*/
    private String proName;
    /*项目城市*/
    private String cityName;
    /*营销经理*/
    private String hrStaffName;
    /*列表查询条件-时间*/
    private String dates;
    /*营销经理ID*/
    private String staffId;
    /*营销经理*/
    private String staffName;
    /*公司ID*/
    private String  hrOrgId;
    /*区域公司*/
    private String compName;
    /*列表查询条件-开始时间*/
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDate;
    /*列表查询条件-结束时间*/
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAddBy() {
        return addBy;
    }

    public void setAddBy(String addBy) {
        this.addBy = addBy;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getUptBy() {
        return uptBy;
    }

    public void setUptBy(String uptBy) {
        this.uptBy = uptBy;
    }

    public Date getUptTime() {
        return uptTime;
    }

    public void setUptTime(Date uptTime) {
        this.uptTime = uptTime;
    }

    public String getCodes() {
        return codes;
    }

    public void setCodes(String codes) {
        this.codes = codes;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }

    public String getOaId() {
        return oaId;
    }

    public void setOaId(String oaId) {
        this.oaId = oaId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getHrStaffName() {
        return hrStaffName;
    }

    public void setHrStaffName(String hrStaffName) {
        this.hrStaffName = hrStaffName;
    }

    public String getDates() {
        return dates;
    }

    public void setDates(String dates) {
        this.dates = dates;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getHrOrgId() {
        return hrOrgId;
    }

    public void setHrOrgId(String hrOrgId) {
        this.hrOrgId = hrOrgId;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
